local storage check if key exists

53

local storage check if key exists -

if (localStorage.getItem("username") === null) {
  //...
}

Comments

Submit
0 Comments